//
//  DHButton.h
//  NavigationDemo
//
//  Created by 商广硕 on 2022/7/9.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, CustomButtonType) {
    CustomButtonTypeLeft,
    CustomButtonTypeRight,
    CustomButtonTypeUpDown
};
@interface DHButton : UIButton 
//标题
@property (nonatomic,copy) NSString * customTitle;
//图片
@property (nonatomic,copy) NSString * customImage;
//图片和标题的间距
@property (nonatomic,assign) NSInteger customBorder;
//图片和标题 位置类型
@property (nonatomic,assign) CustomButtonType customButtonType;
//背景色
@property(nonatomic ,copy) UIColor * customBackgroundColor;
//边框 
@property (nonatomic ,assign)  NSInteger customRadius;
//边框色
@property(nonatomic ,copy) UIColor * customBorderColorr;


@end

NS_ASSUME_NONNULL_END
